-- GENERATED SPELL FOR [Screecher Spirit] --


function spell0_8612(pUnit, Event) --@Summoned Demon,Self--
pUnit:FullCastSpellOnTarget(7741,pUnit)
pUnit:RegisterEvent('Sorts_8612', 580, 1)
end

function Sorts_8612(pUnit, Event)
local choix_sorts_8612 = math.random(0, 0)
if choix_sorts_8612 == 0 then
pUnit:RegisterEvent('spell0_8612', 1, 1)
end
end

function mob8612_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_8612', math.random(1500, 3000), 1)
end

function mob8612_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob8612_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob8612_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(8612, 1, 'mob8612_Action')
RegisterUnitEvent(8612, 2, 'mob8612_Leave')
RegisterUnitEvent(8612, 3, 'mob8612_Kill')
RegisterUnitEvent(8612, 4, 'mob8612_Die')
